<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>今日打卡</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">

	<link rel="stylesheet" href="css/demo.css">
	<link rel="stylesheet" href="css/font-awesome.css">
	<link rel="stylesheet" href="css/sky-mega-menu.css">

	<link rel="stylesheet" href="css/bootstrap.css">
	<link rel="stylesheet" href="css/bootstrap-theme.css">
	<link rel="stylesheet" href="css/btn.css">
	<link rel = "stylesheet" href = "css/daka.css">
	<link rel="stylesheet" href="css/info.css">


</head>
<body class="bg-blue" onload="open();">
<div class="body">
	<!-- mega menu -->
	<ul class="sky-mega-menu sky-mega-menu-anim-scale sky-mega-menu-response-to-icons">
		<!-- about -->
		<li>
			<a href="#"><i class="fa fa-lemon-o"></i>考勤管理系统</a>
		</li>

		<li class="right">
			<a href="/daka"><i class="fa fa-tags"></i>今日打卡</a>

		</li>
		<!-- contacts -->
		<li class="right">
			<a href="#_"><i class="fa fa-phone"></i>事项管理</a>
			<div class="grid-container3">
				<ul>
					<li><a href="/leave"><i class="fa fa-briefcase"></i>请假</a></li>
					<li><a href="/out"><i class="fa fa-briefcase"></i>外出</a></li>
					<li><a href="/comleave"><i class="fa fa-briefcase"></i>调休</a></li>
				</ul>
			</div>
		</li>
		<!--/ contacts -->

		<!-- drop me a line -->
		<li aria-haspopup="true" class="right">
			<a href="#_"><i class="fa fa-tasks"></i>员工信息</a>
			<div class="grid-container3">
				<ul>
					<li><a href="/info"><i class="fa fa-user"></i>个人信息</a></li>
					<li><a href="/cal"><i class="fa fa-print"></i>打卡记录</a></li>
					<li><a href="/logout"><i class="fa fa-chevron-circle-right"></i>注销</a></li>
				</ul>
			</div>

	</ul>
	<!--/ mega menu -->
	<div class="col-lg-12"><br><br></div>



		<table class="tab-1 bg-white  text-center">
			<tr><th colspan="6"><h3 class="text-center">今日打卡</h3></th></tr>
			<tr><td colspan="2">
				姓名：<span th:text="${employee.ename}"></span><br>
				性别：<span th:text="${employee.gender}"></span><br>
				年龄：21
			</td>

				<td><img src="images/user.png"></td></tr>
			<tr><td>当前时间</td><td colspan="2">18:30:00</td></tr>
			<tr><td>今日工作时间</td><td colspan="2">10h</td></tr>
			<tr><td>本月加班时间</td><td colspan="2">60h</td></tr>
			<tr ><td>打卡上班时间</td><td  id="sbTime" colspan="2" th:text="${start}"></td></tr>
			<tr ><td>打卡下班时间</td><td id = "xbTime" colspan="2" th:text="${end}">${end}</td></tr>
			<tr class="text-center">
				<td ><button class="btn btn-success mybtn2" onclick="sb();" id = "sb">上班</button></td>
				<td></td>
				<td ><button class="btn btn-danger mybtn2" onclick="xb();" id = "xb">下班</button></td>

			</tr>
			<tr><td colspan="3">-</td></tr>
		</table>


</div>

<input type="hidden" th:value="${ifSb}" id = "ifSb">
<input type="hidden" th:value="${ifXb}" id = "ifXb">

</body>


<script src="js/moment-with-locales.js"></script>
<script type="text/javascript" src="https://lib.baomitu.com/jquery/3.3.1/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" ></script>
<script src="js/bootstrap.js"></script>
<script src ="js/daka.js" ></script>

</html>